<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>花花</title>
  <style>
    .content {
      margin: 0 auto;
      width: 100%;
      height: 700px;
      position: relative;
    }

    div {
      width: 100%;
      height: 100%;
      position: absolute;
      top: 0;
      left: 0;
      z-index: 1;
    }

    input[type="radio"] {
      position: absolute;
      width: 200px;
      height: 200px;
      border: none;
      cursor: pointer;
      outline: none;
      z-index: 99;
      -webkit-appearance: none;
    }

    input:first-child {
      top: 10%;
      left: 30%;
      border-top-right-radius: 50%;
      border-bottom-left-radius: 50%;
      background-color: thistle;
    }

    input:nth-of-type(2) {
      top: 10%;
      right: 30%;
      border-top-left-radius: 50%;
      border-bottom-right-radius: 50%;
      background-color: pink;
    }

    input:nth-of-type(3) {
      bottom: 10%;
      left: 30%;
      border-top-left-radius: 50%;
      border-bottom-right-radius: 50%;
      background-color: wheat;
    }

    input:nth-of-type(4) {
      bottom: 10%;
      right: 30%;
      border-top-right-radius: 50%;
      border-bottom-left-radius: 50%;
      background-color: skyblue;
    }

    input:last-of-type {
      width: 100px;
      height: 100px;
      border-radius: 50%;
      top: 43%;
      left: 47%;
      background-color: red;
    }

    input:checked {
      border-radius: 50%;
      background-color: #fff;
      transition: all 1s linear;
    }

    input:last-of-type:checked {
      border-radius: 0;
      transition: all 1s linear;
    }

    input:first-of-type:checked~div {
      background-color: thistle;
      transition: all 1s linear;
    }

    input:nth-of-type(2):checked~div {
      background-color: pink;
      transition: all 1s linear;
    }

    input:nth-of-type(3):checked~div {
      background-color: wheat;
      transition: all 1s linear;
    }

    input:nth-of-type(4):checked~div {
      background-color: skyblue;
      transition: all 1s linear;
    }

    input:nth-of-type(5):checked~div {
      background-color: red;
      transition: all 1s linear;
    }
  </style>
</head>

<body>
  <div class="content">
    <input type="radio" name="color" id="thistle">
    <input type="radio" name="color" id="pink">
    <input type="radio" name="color" id="wheat">
    <input type="radio" name="color" id="skyblue">
    <input type="radio" name="color" id="red">
    <div></div>

  </div>
</body>

</html>